﻿package part_06_Homework;

import java.util.Scanner;

/*
 *   输入整数，输出其加法表
 */
public class Work_03 {
	public static void main(String[] args) {
		int i,j;
		Scanner sc = new Scanner(System.in);
		System.out.print("请输入一个整数(输出以其为和的加法表)：");
		int num = sc.nextInt();
		for(i=0,j=num;i<=num;i++,j--){
			System.out.println(i+"+"+j+"="+(i+j));
		}
	}
}
